﻿namespace Douyu.Api
{
    public static class DouyuApiUrl
    {
        /*  Official  */
        public const string Room = @"http://open.douyucdn.cn/api/RoomApi/room/{0}";
        public const string Rooms = @"http://open.douyucdn.cn/api/RoomApi/live/{0}?offset={1}&liimt={2}";
        public const string GameCategory = @"http://open.douyucdn.cn/api/RoomApi/game";

        /*  UnOfficial  */
        public const string Search = @"http://capi.douyucdn.cn/api/v1/searchNew/{0}/?offset={1}&limit={2}";
        public const string Login = @"http://capi.douyucdn.cn/api/v1/login?username={0}&password={1}";
        public const string User = @"http://capi.douyucdn.cn/api/v1/my_info?token={0}";
        public const string Follow = @"http://capi.douyucdn.cn/api/v1/remind_list?token={0}&offset={1}&limit={2}";
        public const string Follow2 = @"http://capi.douyucdn.cn/api/v1/followRoom?token={0}&live={1}";
        public const string History = @"http://capi.douyucdn.cn/api/v1/history?token={0}&offset={1}&limit={2}";
    }
}
